Skip to main content

Create a file

POST 

/api/2.0/files/:folderId/file

Creates a new file in the specified folder with the title specified in the request.

Note: If a file extension is different from DOCX/XLSX/PPTX and refers to one of the known text, spreadsheet, or presentation formats, it will be changed to DOCX/XLSX/PPTX accordingly. If the file extension is not specified or is unknown, the DOCX extension will be added to the file title.

Request

Responses

New file information